#include "singlelayeractor.h"
#include "map.h"
#include "transformable.h"

namespace VrDataCore
{
	SingleLayerActor::SingleLayerActor():DeviceGroup()
	{
		setClassName(CLASS_LAYER);
	}

	SingleLayerActor::~SingleLayerActor()
	{}

	void SingleLayerActor::buildPropertyMap()
	{
		DrawableActor::buildPropertyMap();
	}

	void SingleLayerActor::onMapLoadEnd(CoreBase::Map* map)
	{
		DeviceGroup::onMapLoadEnd(map);
		setTraverseMask(NODE_MASK_ALL);
	}

	void SingleLayerActor::setTraverseMask(int mask)
	{
		MeshDrawableActor::setTraverseMask(mask);
	}
}